org.eclipse.vtp.framework.common.controller
Interface IDispatcher

All Known Subinterfaces:
IExitDispatcher, IForwardDispatcher, IIncludeDispatcher

public interface IDispatcher

An object capable of re-directing the flow of the process engine.

Author:
Lonnie Pryor

Method Summary
 boolean enqueue()
          Enqueues this dispatcher for evaluation by the process controller.
 boolean process()
          Enqueues this dispatcher and waits for it to be processed.
 

Method Detail

enqueue

boolean enqueue()
Enqueues this dispatcher for evaluation by the process controller.

Returns:
True if this dispatcher was accepted into the queue.

process

boolean process()
                throws java.lang.IllegalStateException
Enqueues this dispatcher and waits for it to be processed.

Returns:
True if this dispatcher was accepted into the queue and processed.
Throws:
java.lang.IllegalStateException - If the process controller is not in the blocking state.